<div class="modal-body">
    <div class="container-fluid form-horizontal ">
        <div class="panel panel-info form-horizontal">
		<div class="panel-heading ">
			添加信息
		</div>
		<div class="panel-body">
			<div class="container-fluid">
                <div class="form-group row">
                    <label class="col-sm-2 control-label" style="font-size:20px">驾驶员信息</label>
                </div>

                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">驾驶员编号</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.driver_code" placeholder="驾驶员编号">
                    </div>
                    <label class="col-sm-2 control-label">驾驶员姓名</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.driver_name" placeholder="驾驶员姓名">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">性别</label>
                    <div class="col-sm-3">
                        <ui-select ng-model="info.driver_sex" theme="bootstrap" >
                            <ui-select-match placeholder="请选择性别">
                                {{$select.selected.label}}
                            </ui-select-match>
                            <ui-select-choices repeat="sexlist.label as sexlist in sexarr | filter: $select.search">
                                <span ng-bind-html="sexlist.label | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <label class="col-sm-2 control-label">身份证号</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.driver_number" placeholder="身份证号">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">电话</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.mobile" placeholder="电话">
                    </div>
                    <label class="col-sm-2 control-label">驾龄</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.year" placeholder="驾龄">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">初次领证日期</label>
                    <div class="col-sm-3">
                        <!-- <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                            <input class="form-control"/>
                            <span class="input-group-addon">
                                <span class="glyphicon glyphicon-calendar"></span>
                            </span>
                        </div> -->
                         <input type="text" class="form-control" ng-model="info.issue_date" placeholder="初次领证日期"> 
                    </div>
                    <label class="col-sm-2 control-label">准驾类型</label>
                    <div class="col-sm-3">
                        <ui-select ng-model="info.car_type" theme="bootstrap" >
                            <ui-select-match placeholder="请选择准驾类型">
                                {{$select.selected.label}}
                            </ui-select-match>
                            <ui-select-choices repeat="car_typelist.label as car_typelist in car_typearr | filter: $select.search">
                                <span ng-bind-html="car_typelist.label | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">有限期限起</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.start_date" placeholder="有限期限起">
                    </div>
                    <label class="col-sm-2 control-label">有限期限止</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.end_date" placeholder="有限期限止">
                    </div>
                </div>
                <div class="form-group row">
                     <label class="col-sm-offset-1 col-sm-2 control-label" >出生日期</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.birthday" placeholder="出生日期">
                    </div> 
                </div>
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">住址</label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control" ng-model="info.address" placeholder="住址">
                    </div>
                </div>
                
                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">上传图片</label>
                    <div class="col-sm-4">
                        <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                            <i class="fa fa-file-image-o"></i> 添加图片
                        </button>                    
                    </div>
                </div>


                <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
                    <div class="col-sm-4" >         
                    </div> 
                    <div class="col-sm-4">
                        <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                        <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                        <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
                    </div> 
                </div>   
                
                <div class="col-sm-12" style="padding:20px">
                    <div class="col-sm-offset-4 col-sm-4">
                        <button class="btn btn-success btn-block" ng-click="save()">保存</button>
                    </div>
                </div>

                <!-- <div class="form-group row">
                    <label class="col-sm-2 control-label" style="font-size:20px">驾驶证信息</label>
                </div>

                <div class="form-group row">
                    <label class="col-sm-offset-1 col-sm-2 control-label">驾驶证编号</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.num" placeholder="驾驶证编号">
                    </div>
                    <label class="col-sm-2 control-label">xxxx</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="info.aaa" placeholder="司机姓名">
                    </div>
                </div> -->
                
                
                
            </div>
        </div>
		</div>
	</div>
</div>
        